<?php

namespace App\Http\Controllers\Api;

use App\Models\File;
use App\Utils\CodeUtil;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class UploadController extends Controller
{

    public function upload(Request $request) {
        $upload = new \App\Http\Controllers\UploadController();
        $result = $upload->upload($request,"file");
        return response()->json($result);
    }
}
